package com.atguigu.mapper;

import com.atguigu.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface EmployeeMapper {

    void add(Employee employee);

    void deleteById(Integer id);

    void update(Employee employee);

    List<Employee> selectAll(Employee employee);

    Employee selectById(Integer id);

    Employee selectByUsername(String username);

    Employee selectByNo(String no);
}
